enable_testing()
add_executable(iangels_test
    main.cpp
    model_root_ut.cpp
    config_ut.cpp
    safetensors_loader_ut.cpp
)
target_link_libraries(iangels_test PRIVATE iangels gtest pthread)


install(TARGETS iangels_test
        RUNTIME DESTINATION bin
)

message("CMAKE_SOURCE_DIR: ${CMAKE_SOURCE_DIR}")
add_test(NAME AllTests COMMAND iangels_test)